home *** CD-ROM | disk | FTP | other *** search
/ PC Users 1998 March / Pc Users extra 6.iso / pshare95 / prog / pvie / pview.exe / data.1 / pvdate2.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-03-14  |  2.9 KB  |  108 lines

  1. #ifndef __PVDATE2_H__
  2. #define __PVDATE2_H__
  3.  
  4. // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
  5.  
  6. // NOTE: Do not modify the contents of this file.  If this class is regenerated by
  7. //  Microsoft Visual C++, your modifications will be overwritten.
  8.  
  9.  
  10. // Dispatch interfaces referenced by this interface
  11. class COleFont;
  12.  
  13. /////////////////////////////////////////////////////////////////////////////
  14. // CPVDate2 wrapper class
  15.  
  16. class CPVDate2 : public CWnd
  17. {
  18. protected:
  19.     DECLARE_DYNCREATE(CPVDate2)
  20. public:
  21.     CLSID const& GetClsid()
  22.     {
  23.         static CLSID const clsid
  24.             = { 0xcc696b63, 0x4159, 0x11d0, { 0xbd, 0xcb, 0x0, 0x20, 0xa9, 0xb, 0x18, 0x3a } };
  25.         return clsid;
  26.     }
  27.     virtual BOOL Create(LPCTSTR lpszClassName,
  28.         LPCTSTR lpszWindowName, DWORD dwStyle,
  29.         const RECT& rect,
  30.         CWnd* pParentWnd, UINT nID,
  31.         CCreateContext* pContext = NULL)
  32.     { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
  33.  
  34.     BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
  35.         const RECT& rect, CWnd* pParentWnd, UINT nID,
  36.         CFile* pPersist = NULL, BOOL bStorage = FALSE,
  37.         BSTR bstrLicKey = NULL)
  38.     { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
  39.         pPersist, bStorage, bstrLicKey); }
  40.  
  41. // Attributes
  42. public:
  43.     COleFont GetFont();
  44.     void SetFont(LPDISPATCH);
  45.     OLE_COLOR GetBackColor();
  46.     void SetBackColor(OLE_COLOR);
  47.     OLE_COLOR GetForeColor();
  48.     void SetForeColor(OLE_COLOR);
  49.     short GetAlignment();
  50.     void SetAlignment(short);
  51.     short GetDisplayFormat();
  52.     void SetDisplayFormat(short);
  53.     BOOL GetHighlightInverted();
  54.     void SetHighlightInverted(BOOL);
  55.     unsigned long GetHighlightColor();
  56.     void SetHighlightColor(unsigned long);
  57.     DATE GetValue();
  58.     void SetValue(DATE);
  59.     DATE Get_Value();
  60.     void Set_Value(DATE);
  61.     short GetDay();
  62.     void SetDay(short);
  63.     short GetMonth();
  64.     void SetMonth(short);
  65.     short GetYear();
  66.     void SetYear(short);
  67.     short GetDateFormat();
  68.     void SetDateFormat(short);
  69.     CString GetSeparator();
  70.     void SetSeparator(LPCTSTR);
  71.     BOOL GetEnabled();
  72.     void SetEnabled(BOOL);
  73.     unsigned long GetDisabledColor();
  74.     void SetDisabledColor(unsigned long);
  75.     BOOL GetTimeStore();
  76.     void SetTimeStore(BOOL);
  77.     BOOL GetModified();
  78.     void SetModified(BOOL);
  79.     CString GetDateString();
  80.     void SetDateString(LPCTSTR);
  81.     BOOL GetSeparatorDefault();
  82.     void SetSeparatorDefault(BOOL);
  83.     short GetBorder();
  84.     void SetBorder(short);
  85.     short GetEditMode();
  86.     void SetEditMode(short);
  87.     BOOL GetEditModeChange();
  88.     void SetEditModeChange(BOOL);
  89.     short GetCalendarFormat();
  90.     void SetCalendarFormat(short);
  91.     short GetStatus();
  92.     void SetStatus(short);
  93.     short GetDayOfWeek();
  94.     void SetDayOfWeek(short);
  95.     short GetDayOfYear();
  96.     void SetDayOfYear(short);
  97.     short GetWeekOfYear();
  98.     void SetWeekOfYear(short);
  99.     short GetValueReset();
  100.     void SetValueReset(short);
  101.  
  102. // Operations
  103. public:
  104.     void AboutBox();
  105. };
  106.  
  107. #endif // __PVDATE2_H__
  108.